package com.niiwoo.civet.mobile.vo.response.invest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ApiModel(description = "标的详情")
public class QueryPCProjectInfoResponseVO {

    @ApiModelProperty(value = "借款用途", required = true)
    private String loanUsage;

    @ApiModelProperty(value = "标的ID", required = true)
    private Long projectId;

    @ApiModelProperty(value = "标的提供方", required = true)
    private String provider;

    @ApiModelProperty(value = "标的提供方logo", required = true)
    private String providerLogo;

    @ApiModelProperty(value = "借款年化利率", required = true)
    private BigDecimal yearInterestRate;

    @ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;

    @ApiModelProperty(value = "期数单位(1:月，2:天)", required = true)
    private Byte deadlineUnit;

    @ApiModelProperty(value = "标的总金额", required = true)
    private BigDecimal contractAmount;

    @ApiModelProperty(value = "可投金额", required = true)
    private BigDecimal remainingAmount;

    @ApiModelProperty(value = "起投金额", required = true)
    private BigDecimal investBeginAmount;

    @ApiModelProperty(value = "递增金额", required = true)
    private BigDecimal increaseAmount;

    @ApiModelProperty(value = "还款方式(1到期还本息，2等额本息，3按月还息，到期还本)", required = true)
    private Byte repaymentWay;

    @ApiModelProperty(value = "保障方式", required = true)
    private String guaranteeWay;

    @ApiModelProperty(value = "投资人条件", required = true)
    private String investorCondition;

    @ApiModelProperty(value = "项目状态(1审核中、2筹款中、3还款中、4已结清、5流标)", required = true)
    private Byte status;

    @ApiModelProperty(value = "剩余时间", required = true)
    private long remainingTime;

    @ApiModelProperty(value = "投标笔数", required = true)
    private Integer investmentRecord;

    @ApiModelProperty(value = "借款人类型(1:个人 2:企业)", required = true)
    private Byte borrowerType;

    @ApiModelProperty(value = "满标时间", required = true)
    private Date fullProjectTime;

    @ApiModelProperty("贷款类型(1:社保贷，2:信用卡贷，3:房抵贷，4:车抵贷，5:供应链贷，6:极速贷，9:其它，10:消费贷, 11:生意贷)")
    private Byte loanType;

    @ApiModelProperty("贷款类型(社保贷，信用卡贷，房抵贷，车抵贷，供应链贷，极速贷，其它, 消费贷， 生意贷) ")
    private String loanTypeDesc;

    @ApiModelProperty("产品介绍")
    private String productReadme;

    @ApiModelProperty(value = "授信额度类型(0:未知,1:社保,2:芝麻,3:学历,4:融360,5:自有资质,6:融360自有资质,7:信用卡,8:房产证,9:装修项目,10:车辆)", required = true)
    private Byte creditType;

    @ApiModelProperty(value = "借款人userId", required = true)
    private String userId;

    @ApiModelProperty(value = "标的类型(默认1:个人极速借 2:机构极速借 3:你我云贷)", required = true)
    private Byte projectType;

    @ApiModelProperty(value = "风险提示书", required = true)
    private String riskWarning;

    @ApiModelProperty(value = "标的子状态", required = true)
    private Integer subStatus;

    @ApiModelProperty("是否主借人?0.否;1.是")
    private Byte isMasterBorrower;

    @ApiModelProperty("获取可使用红包列表时使用")
    private Integer userPrizeSuitProjectType;

    @ApiModelProperty("活动加息费率，10%返回0.1")
    private BigDecimal activityAddInerest;

    @ApiModelProperty("活动信息")
    private String activityTitle;

    @ApiModelProperty("是否智能投")
    private Boolean isIntelligentInvestment;


}

